home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / tool chest / communications toolbox / ctb development resources / commtoolbox roadmap / terminal manager / cards.xml < prev    next >
Encoding:
Text File  |  1992-01-22  |  27.5 KB  |  819 lines

  1. card_11596.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>11596</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_11838.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2560</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  13.     <part>
  14.         <id>2</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <false /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <true /> </lockText>
  23.         <rect>
  24.             <left>235</left>
  25.             <top>38</top>
  26.             <right>504</right>
  27.             <bottom>169</bottom>
  28.         </rect>
  29.         <style>shadow</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <true /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Monaco</font>
  39.         <textSize>9</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>12</textHeight>
  42.         <name></name>
  43.         <script></script>
  44.     </part>
  45.     <part>
  46.         <id>3</id>
  47.         <type>button</type>
  48.         <visible> <true /> </visible>
  49.         <reserved5> 0 </reserved5>
  50.         <reserved4> 0 </reserved4>
  51.         <reserved3> 0 </reserved3>
  52.         <reserved2> 0 </reserved2>
  53.         <reserved1> 0 </reserved1>
  54.         <enabled> <true /> </enabled>
  55.         <rect>
  56.             <left>477</left>
  57.             <top>321</top>
  58.             <right>511</right>
  59.             <bottom>342</bottom>
  60.         </rect>
  61.         <style>opaque</style>
  62.         <showName> <false /> </showName>
  63.         <highlight> <false /> </highlight>
  64.         <autoHighlight> <false /> </autoHighlight>
  65.         <sharedHighlight> <true /> </sharedHighlight>
  66.         <family>0</family>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>14154</icon>
  69.         <textAlign>center</textAlign>
  70.         <font>Chicago</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <name>next</name>
  74.         <script></script>
  75.     </part>
  76.     <content>
  77.         <layer>background</layer>
  78.         <id>2</id>
  79.         <text>Terminal Emulation Window</text>
  80.     </content>
  81.     <content>
  82.         <layer>background</layer>
  83.         <id>8</id>
  84.         <text>18 of 18</text>
  85.     </content>
  86.     <content>
  87.         <layer>card</layer>
  88.         <id>2</id>
  89.         <text>
  90. TYPE
  91.    TermDataBlockH    =    ^TermDataPtr;
  92.    TermDataBlockPtr  =    ^TermDataBlock;
  93.    TermDataBlock     =    RECORD
  94.           flags      :    TMTermTypes;
  95.           theData    :    Handle;
  96.           auxData    :    Handle;
  97.           reserved   :    LONGINIT;
  98. END;</text>
  99.     </content>
  100.     <content>
  101.         <layer>background</layer>
  102.         <id>3</id>
  103.         <text>For text terminals, the TermDataBlock describes a line of text in the terminal emulation region.
  104. For graphics terminals, the TermDataBlock describes a picture in the terminal emulation region.
  105. </text>
  106.     </content>
  107.     <name></name>
  108.     <script>-- The visual effect for next and prev
  109. dissolve fast, wipe right
  110. </script>
  111. </card>
  112.  
  113.  
  114. card_11227.xml
  115. <?xml version="1.0" encoding="utf-8" ?>
  116. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  117. <card>
  118.     <id>11227</id>
  119.     <filler1>0</filler1>
  120.     <bitmap>BMAP_11420.pbm</bitmap>
  121.     <cantDelete> <false /> </cantDelete>
  122.     <showPict> <true /> </showPict>
  123.     <dontSearch> <false /> </dontSearch>
  124.     <owner>2560</owner>
  125.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  126.     <part>
  127.         <id>2</id>
  128.         <type>field</type>
  129.         <visible> <true /> </visible>
  130.         <dontWrap> <false /> </dontWrap>
  131.         <dontSearch> <false /> </dontSearch>
  132.         <sharedText> <false /> </sharedText>
  133.         <fixedLineHeight> <false /> </fixedLineHeight>
  134.         <autoTab> <false /> </autoTab>
  135.         <lockText> <true /> </lockText>
  136.         <rect>
  137.             <left>235</left>
  138.             <top>38</top>
  139.             <right>504</right>
  140.             <bottom>169</bottom>
  141.         </rect>
  142.         <style>shadow</style>
  143.         <autoSelect> <false /> </autoSelect>
  144.         <showLines> <false /> </showLines>
  145.         <wideMargins> <true /> </wideMargins>
  146.         <multipleLines> <false /> </multipleLines>
  147.         <reservedFamily> 0 </reservedFamily>
  148.         <titleWidth>0</titleWidth>
  149.         <icon>0</icon>
  150.         <textAlign>left</textAlign>
  151.         <font>Monaco</font>
  152.         <textSize>9</textSize>
  153.         <textStyle>plain</textStyle>
  154.         <textHeight>12</textHeight>
  155.         <name></name>
  156.         <script></script>
  157.     </part>
  158.     <content>
  159.         <layer>background</layer>
  160.         <id>2</id>
  161.         <text>Terminal Emulation Window</text>
  162.     </content>
  163.     <content>
  164.         <layer>background</layer>
  165.         <id>8</id>
  166.         <text>17 of 18</text>
  167.     </content>
  168.     <content>
  169.         <layer>card</layer>
  170.         <id>2</id>
  171.         <text>
  172. TYPE
  173.    TermDataBlockH    =    ^TermDataPtr;
  174.    TermDataBlockPtr  =    ^TermDataBlock;
  175.    TermDataBlock     =    RECORD
  176.           flags      :    TMTermTypes;
  177.           theData    :    Handle;
  178.           auxData    :    Handle;
  179.           reserved   :    LONGINIT;
  180. END;</text>
  181.     </content>
  182.     <content>
  183.         <layer>background</layer>
  184.         <id>3</id>
  185.         <text>Your application and the terminal tool exchange data through a TermDataBlock which is an extensible data structure.
  186. </text>
  187.     </content>
  188.     <name></name>
  189.     <script>-- The visual effect for next and prev
  190. wipe left, wipe right
  191. </script>
  192. </card>
  193.  
  194.  
  195. card_10508.xml
  196. <?xml version="1.0" encoding="utf-8" ?>
  197. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  198. <card>
  199.     <id>10508</id>
  200.     <filler1>0</filler1>
  201.     <bitmap>BMAP_10973.pbm</bitmap>
  202.     <cantDelete> <false /> </cantDelete>
  203.     <showPict> <true /> </showPict>
  204.     <dontSearch> <false /> </dontSearch>
  205.     <owner>2560</owner>
  206.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  207.     <content>
  208.         <layer>background</layer>
  209.         <id>2</id>
  210.         <text>Terminal Emulation Window</text>
  211.     </content>
  212.     <content>
  213.         <layer>background</layer>
  214.         <id>8</id>
  215.         <text>16 of 18</text>
  216.     </content>
  217.     <content>
  218.         <layer>background</layer>
  219.         <id>3</id>
  220.         <text>Terminal emulation region is the area of the terminal window in which the terminal tool displays data in a matter that emulates a specific terminal.
  221. </text>
  222.     </content>
  223.     <name></name>
  224.     <script>-- The visual effect for next and prev
  225. wipe left fast, dissolve very fast
  226. </script>
  227. </card>
  228.  
  229.  
  230. card_12339.xml
  231. <?xml version="1.0" encoding="utf-8" ?>
  232. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  233. <card>
  234.     <id>12339</id>
  235.     <filler1>0</filler1>
  236.     <bitmap>BMAP_6860.pbm</bitmap>
  237.     <cantDelete> <false /> </cantDelete>
  238.     <showPict> <true /> </showPict>
  239.     <dontSearch> <false /> </dontSearch>
  240.     <owner>2560</owner>
  241.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  242.     <content>
  243.         <layer>background</layer>
  244.         <id>2</id>
  245.         <text>Terminal Emulation Window</text>
  246.     </content>
  247.     <content>
  248.         <layer>background</layer>
  249.         <id>8</id>
  250.         <text>15 of 18</text>
  251.     </content>
  252.     <content>
  253.         <layer>background</layer>
  254.         <id>3</id>
  255.         <text>The cache region is an optional area in the window, which your application can use to display data that scrolls off the top of the terminal emulation region.  Because terminal tools do not maintain this area of the terminal emulation window, your application must provide all the necessary code if you want a cache region.</text>
  256.     </content>
  257.     <name></name>
  258.     <script>-- The visual effect for next and prev
  259. dissolve very fast,dissolve very fast
  260. </script>
  261. </card>
  262.  
  263.  
  264. card_2299.xml
  265. <?xml version="1.0" encoding="utf-8" ?>
  266. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  267. <card>
  268.     <id>2299</id>
  269.     <filler1>0</filler1>
  270.     <bitmap>BMAP_2554.pbm</bitmap>
  271.     <cantDelete> <false /> </cantDelete>
  272.     <showPict> <true /> </showPict>
  273.     <dontSearch> <false /> </dontSearch>
  274.     <owner>2560</owner>
  275.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  276.     <content>
  277.         <layer>background</layer>
  278.         <id>2</id>
  279.         <text>Terminal Emulation Window</text>
  280.     </content>
  281.     <content>
  282.         <layer>background</layer>
  283.         <id>8</id>
  284.         <text>14 of 18</text>
  285.     </content>
  286.     <content>
  287.         <layer>background</layer>
  288.         <id>3</id>
  289.         <text>A terminal emulation window is provided to the terminal tools by the application.  In addition to title bar, scroll bars, and other standard user  interface elements, the terminal emulation window has two major parts: the terminal emulation region and the cache region.
  290. </text>
  291.     </content>
  292.     <name></name>
  293.     <script>--
  294. on openCard
  295. disItem "Terminal Emulation Window"
  296. end openCard
  297.  
  298. --
  299. on closeCard
  300. enaItem "Terminal Emulation Window"
  301. end closeCard
  302.  
  303.  
  304. -- The visual effect for next and prev
  305. dissolve very fast, wipe right
  306. </script>
  307. </card>
  308.  
  309.  
  310. card_9832.xml
  311. <?xml version="1.0" encoding="utf-8" ?>
  312. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  313. <card>
  314.     <id>9832</id>
  315.     <filler1>0</filler1>
  316.     <bitmap>BMAP_10177.pbm</bitmap>
  317.     <cantDelete> <false /> </cantDelete>
  318.     <showPict> <true /> </showPict>
  319.     <dontSearch> <false /> </dontSearch>
  320.     <owner>2560</owner>
  321.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  322.     <content>
  323.         <layer>background</layer>
  324.         <id>3</id>
  325.         <text>Or, you can use the Terminal Manager with some other connection services.
  326. </text>
  327.     </content>
  328.     <content>
  329.         <layer>background</layer>
  330.         <id>2</id>
  331.         <text>Applications</text>
  332.     </content>
  333.     <content>
  334.         <layer>background</layer>
  335.         <id>8</id>
  336.         <text>13 of 18</text>
  337.     </content>
  338.     <name></name>
  339.     <script>-- The visual effect for next and prev
  340. wipe left, dissolve
  341. </script>
  342. </card>
  343.  
  344.  
  345. card_9135.xml
  346. <?xml version="1.0" encoding="utf-8" ?>
  347. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  348. <card>
  349.     <id>9135</id>
  350.     <filler1>0</filler1>
  351.     <bitmap>BMAP_9656.pbm</bitmap>
  352.     <cantDelete> <false /> </cantDelete>
  353.     <showPict> <true /> </showPict>
  354.     <dontSearch> <false /> </dontSearch>
  355.     <owner>2560</owner>
  356.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  357.     <content>
  358.         <layer>background</layer>
  359.         <id>3</id>
  360.         <text>You can use the Terminal Manager with the other Communication Toolbox Managers to create a communication application with connection and file transfer capabilities.</text>
  361.     </content>
  362.     <content>
  363.         <layer>background</layer>
  364.         <id>2</id>
  365.         <text>Applications</text>
  366.     </content>
  367.     <content>
  368.         <layer>background</layer>
  369.         <id>8</id>
  370.         <text>12 of 18</text>
  371.     </content>
  372.     <name></name>
  373.     <script>--
  374. on openCard
  375. disItem "Applications"
  376. end openCard
  377.  
  378. --
  379. on closeCard
  380. enaItem "Applications"
  381. end closeCard
  382.  
  383.  
  384. -- The visual effect for next and prev
  385. dissolve, wipe right
  386. </script>
  387. </card>
  388.  
  389.  
  390. card_8792.xml
  391. <?xml version="1.0" encoding="utf-8" ?>
  392. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  393. <card>
  394.     <id>8792</id>
  395.     <filler1>0</filler1>
  396.     <bitmap>BMAP_9261.pbm</bitmap>
  397.     <cantDelete> <false /> </cantDelete>
  398.     <showPict> <true /> </showPict>
  399.     <dontSearch> <false /> </dontSearch>
  400.     <owner>2560</owner>
  401.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  402.     <content>
  403.         <layer>background</layer>
  404.         <id>3</id>
  405.         <text><span class="style1">here are also localization routines</span><span class="style2"> </span><span class="style1">that make it easy for you to set up your application for other countries.
  406. </span></text>
  407.     </content>
  408.     <content>
  409.         <layer>background</layer>
  410.         <id>2</id>
  411.         <text>Utilities</text>
  412.     </content>
  413.     <content>
  414.         <layer>background</layer>
  415.         <id>8</id>
  416.         <text>11 of 18</text>
  417.     </content>
  418.     <name></name>
  419.     <script>-- The visual effect for next and prev
  420. wipe left, wipe right
  421. </script>
  422. </card>
  423.  
  424.  
  425. card_8314.xml
  426. <?xml version="1.0" encoding="utf-8" ?>
  427. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  428. <card>
  429.     <id>8314</id>
  430.     <filler1>0</filler1>
  431.     <bitmap>BMAP_8624.pbm</bitmap>
  432.     <cantDelete> <false /> </cantDelete>
  433.     <showPict> <true /> </showPict>
  434.     <dontSearch> <false /> </dontSearch>
  435.     <owner>2560</owner>
  436.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  437.     <content>
  438.         <layer>background</layer>
  439.         <id>3</id>
  440.         <text>There are configuration routines for your application to easily configure a terminal tool, either with the use of a dialog box or programmatically with a configuration string interface.</text>
  441.     </content>
  442.     <content>
  443.         <layer>background</layer>
  444.         <id>2</id>
  445.         <text>Utilities</text>
  446.     </content>
  447.     <content>
  448.         <layer>background</layer>
  449.         <id>8</id>
  450.         <text>10 of 18</text>
  451.     </content>
  452.     <name></name>
  453.     <script>--
  454. on openCard
  455. disItem "Utilities"
  456. end openCard
  457.  
  458. --
  459. on closeCard
  460. enaItem "Utilities"
  461. end closeCard
  462.  
  463.  
  464. -- The visual effect for next and prev
  465. wipe left, wipe right
  466. </script>
  467. </card>
  468.  
  469.  
  470. card_7756.xml
  471. <?xml version="1.0" encoding="utf-8" ?>
  472. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  473. <card>
  474.     <id>7756</id>
  475.     <filler1>0</filler1>
  476.     <bitmap>BMAP_8180.pbm</bitmap>
  477.     <cantDelete> <false /> </cantDelete>
  478.     <showPict> <true /> </showPict>
  479.     <dontSearch> <false /> </dontSearch>
  480.     <owner>2560</owner>
  481.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  482.     <content>
  483.         <layer>background</layer>
  484.         <id>3</id>
  485.         <text>Multiple instances of the same tool within the application are allowed by the terminal manager.  This means that multiple records of the same tool can exist at the same time.
  486. </text>
  487.     </content>
  488.     <content>
  489.         <layer>background</layer>
  490.         <id>2</id>
  491.         <text>Terminal Record</text>
  492.     </content>
  493.     <content>
  494.         <layer>background</layer>
  495.         <id>8</id>
  496.         <text>9 of 18</text>
  497.     </content>
  498.     <name></name>
  499.     <script>-- The visual effect for next and prev
  500. wipe left, wipe right
  501. </script>
  502. </card>
  503.  
  504.  
  505. card_7587.xml
  506. <?xml version="1.0" encoding="utf-8" ?>
  507. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  508. <card>
  509.     <id>7587</id>
  510.     <filler1>0</filler1>
  511.     <bitmap>BMAP_12108.pbm</bitmap>
  512.     <cantDelete> <false /> </cantDelete>
  513.     <showPict> <true /> </showPict>
  514.     <dontSearch> <false /> </dontSearch>
  515.     <owner>2560</owner>
  516.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  517.     <part>
  518.         <id>1</id>
  519.         <type>field</type>
  520.         <visible> <true /> </visible>
  521.         <dontWrap> <false /> </dontWrap>
  522.         <dontSearch> <false /> </dontSearch>
  523.         <sharedText> <false /> </sharedText>
  524.         <fixedLineHeight> <false /> </fixedLineHeight>
  525.         <autoTab> <false /> </autoTab>
  526.         <lockText> <true /> </lockText>
  527.         <rect>
  528.             <left>16</left>
  529.             <top>40</top>
  530.             <right>408</right>
  531.             <bottom>273</bottom>
  532.         </rect>
  533.         <style>scrolling</style>
  534.         <autoSelect> <false /> </autoSelect>
  535.         <showLines> <false /> </showLines>
  536.         <wideMargins> <false /> </wideMargins>
  537.         <multipleLines> <false /> </multipleLines>
  538.         <reservedFamily> 0 </reservedFamily>
  539.         <titleWidth>0</titleWidth>
  540.         <icon>0</icon>
  541.         <textAlign>left</textAlign>
  542.         <font>Monaco</font>
  543.         <textSize>9</textSize>
  544.         <textStyle>plain</textStyle>
  545.         <textHeight>10</textHeight>
  546.         <name>file transfer record</name>
  547.         <script></script>
  548.     </part>
  549.     <content>
  550.         <layer>background</layer>
  551.         <id>3</id>
  552.         <text>The Terminal Record is emulation independent.  That is, it does not have any public information that is specific to a certain terminal. In this way,  the application doesn't have to concern itself with the terminal  that is being emulated.</text>
  553.     </content>
  554.     <content>
  555.         <layer>background</layer>
  556.         <id>2</id>
  557.         <text>Terminal Record</text>
  558.     </content>
  559.     <content>
  560.         <layer>card</layer>
  561.         <id>1</id>
  562.         <text>TYPE 
  563.       TermHandle           =    ^TermPointer; 
  564.       TermPointer          =    ^TermRecord; 
  565.       TermRecord           =    RECORD 
  566.              procID        =    INTEGER 
  567.              flags         :    TMFlags;
  568.              errCode       :    TMErr; 
  569.              refCon        :    LONGINT; 
  570.              userData      :    LONGINT; 
  571.              defProc       :    ProcPtr; 
  572.              config        :    Ptr; 
  573.              oldConfig     :    Ptr;
  574.              environsProc  :    ProcPtr; 
  575.              reserved1     :    LONGINT; 
  576.              reserved2     :    LONGINT;
  577.              tmPrivate     :    Ptr; 
  578.              sendProc      :    ProcPtr; 
  579.              breakProc     :    ProcPtr;
  580.              cacheProc     :    ProcPtr;
  581.              clikLoop      :    ProcPtr;
  582.              owner         :    WindowPtr; 
  583.              termRect      :    Rect; 
  584.              viewRect      :    Rect; 
  585.              visRect       :    Rect; 
  586.              lastIdle      :    LONGINT; 
  587.              selection     :    TMSelection; 
  588.              selType       :    TMSelTypes;
  589.              mluField      :    LONGINT;
  590.  END;</text>
  591.     </content>
  592.     <content>
  593.         <layer>background</layer>
  594.         <id>8</id>
  595.         <text>8 of 18</text>
  596.     </content>
  597.     <name></name>
  598.     <script>--
  599. on closeCard
  600. set scroll of cd fld "file transfer record" to 0
  601. end closeCard
  602.  
  603. -- The visual effect for next and prev
  604. wipe left, dissolve
  605. </script>
  606. </card>
  607.  
  608.  
  609. card_7397.xml
  610. <?xml version="1.0" encoding="utf-8" ?>
  611. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  612. <card>
  613.     <id>7397</id>
  614.     <filler1>0</filler1>
  615.     <bitmap>BMAP_7165.pbm</bitmap>
  616.     <cantDelete> <false /> </cantDelete>
  617.     <showPict> <true /> </showPict>
  618.     <dontSearch> <false /> </dontSearch>
  619.     <owner>2560</owner>
  620.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  621.     <part>
  622.         <id>1</id>
  623.         <type>field</type>
  624.         <visible> <true /> </visible>
  625.         <dontWrap> <false /> </dontWrap>
  626.         <dontSearch> <false /> </dontSearch>
  627.         <sharedText> <false /> </sharedText>
  628.         <fixedLineHeight> <false /> </fixedLineHeight>
  629.         <autoTab> <false /> </autoTab>
  630.         <lockText> <true /> </lockText>
  631.         <rect>
  632.             <left>16</left>
  633.             <top>40</top>
  634.             <right>408</right>
  635.             <bottom>273</bottom>
  636.         </rect>
  637.         <style>scrolling</style>
  638.         <autoSelect> <false /> </autoSelect>
  639.         <showLines> <false /> </showLines>
  640.         <wideMargins> <false /> </wideMargins>
  641.         <multipleLines> <false /> </multipleLines>
  642.         <reservedFamily> 0 </reservedFamily>
  643.         <titleWidth>0</titleWidth>
  644.         <icon>0</icon>
  645.         <textAlign>left</textAlign>
  646.         <font>Monaco</font>
  647.         <textSize>9</textSize>
  648.         <textStyle>plain</textStyle>
  649.         <textHeight>10</textHeight>
  650.         <name>File Transfer Record</name>
  651.         <script></script>
  652.     </part>
  653.     <content>
  654.         <layer>background</layer>
  655.         <id>3</id>
  656.         <text>The Terminal Record is the data structure that stores all the specifics about the terminal emulation:  things like the type of terminal, the uses of cache, etc.
  657. </text>
  658.     </content>
  659.     <content>
  660.         <layer>card</layer>
  661.         <id>1</id>
  662.         <text><span class="style1">YPE 
  663.       TermHandle           =    ^TermPointer; 
  664.       TermPointer          =    ^TermRecord; 
  665.       TermRecord           =    RECORD 
  666.              procID        =    INTEGER 
  667.              flags         :    TMFlags;
  668.              errCode       :    TMErr; 
  669.              refCon        :    LONGINT; 
  670.              userData      :    LONGINT; 
  671.              defProc       :    ProcPtr; 
  672.              config        :    Ptr; 
  673.              oldConfig     :    Ptr;
  674.              environsProc  :    ProcPtr; 
  675.              reserved1     :    LONGINT; 
  676.              reserved2     :    LONGINT;
  677.              </span><span class="style1">tmPrivate     :    Ptr; 
  678.              sendProc      :    ProcPtr; 
  679.              breakProc     :    ProcPtr;
  680.              cacheProc     :    ProcPtr;
  681.              clikLoop      :    ProcPtr;
  682.              owner         :    WindowPtr; 
  683.              termRect      :    Rect; 
  684.              viewRect      :    Rect; 
  685.              visRect       :    Rect; 
  686.              lastIdle      :    LONGINT; 
  687.              selection     :    TMSelection; 
  688.              selType       :    TMSelTypes;
  689.              mluField      :    LONGINT;
  690.  END;</span></text>
  691.     </content>
  692.     <content>
  693.         <layer>background</layer>
  694.         <id>2</id>
  695.         <text>Terminal Record</text>
  696.     </content>
  697.     <content>
  698.         <layer>background</layer>
  699.         <id>8</id>
  700.         <text>7 of 18</text>
  701.     </content>
  702.     <name></name>
  703.     <script>--
  704. on openCard
  705. disItem "Terminal Record"
  706. end openCard
  707.  
  708. --
  709. on closeCard
  710. enaItem "Terminal Record"
  711. set scroll of cd fld "file transfer record" to 0
  712. end closeCard
  713.  
  714. -- The visual effect for next and prev
  715. dissolve, wipe right
  716. </script>
  717. </card>
  718.  
  719.  
  720. card_6205.xml
  721. <?xml version="1.0" encoding="utf-8" ?>
  722. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  723. <card>
  724.     <id>6205</id>
  725.     <filler1>0</filler1>
  726.     <bitmap>BMAP_6473.pbm</bitmap>
  727.     <cantDelete> <false /> </cantDelete>
  728.     <showPict> <true /> </showPict>
  729.     <dontSearch> <false /> </dontSearch>
  730.     <owner>2560</owner>
  731.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  732.     <content>
  733.         <layer>background</layer>
  734.         <id>3</id>
  735.         <text>After the tool performs the task, it sends any relevant parameters and return codes to the Terminal Manager, which forwards them to the application.</text>
  736.     </content>
  737.     <content>
  738.         <layer>background</layer>
  739.         <id>2</id>
  740.         <text>How it does it</text>
  741.     </content>
  742.     <content>
  743.         <layer>background</layer>
  744.         <id>8</id>
  745.         <text>6 of 18</text>
  746.     </content>
  747.     <name></name>
  748.     <script>-- *** animate the arrow
  749. on cdAnim
  750. choose line tool
  751. set dragSpeed to 35
  752. drag from 463,113 to 463,82
  753. drag from 462,82 to 403,82
  754. drag from 403,83 to 403,101
  755. wait 10
  756. drag from 381,105 to 381,46
  757. drag from 380,46 to 319,46
  758. drag from 319,47 to 319,56
  759. wait 19
  760. drag from 296,59 to 296,46
  761. drag from 295,46 to 275,46
  762. choose browse tool
  763. end cdAnim
  764.  
  765. --
  766. on closeCard
  767. choose select tool
  768. doMenu "Revert"
  769. choose browse tool
  770. end closeCard
  771.  
  772. -- The visual effect for next and prev
  773. wipe left, dissolve
  774. </script>
  775. </card>
  776.  
  777.  
  778. card_5638.xml
  779. <?xml version="1.0" encoding="utf-8" ?>
  780. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  781. <card>
  782.     <id>5638</id>
  783.     <filler1>0</filler1>
  784.     <bitmap>BMAP_5970.pbm</bitmap>
  785.     <cantDelete> <false /> </cantDelete>
  786.     <showPict> <true /> </showPict>
  787.     <dontSearch> <false /> </dontSearch>
  788.     <owner>2560</owner>
  789.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  790.     <content>
  791.         <layer>background</layer>
  792.         <id>3</id>
  793.         <text>The tool is programmed with all the information needed to perform terminal emulation operations according to specific characteristics of a terminal.</text>
  794.     </content>
  795.     <content>
  796.         <layer>background</layer>
  797.         <id>2</id>
  798.         <text>How it does it</text>
  799.     </content>
  800.     <content>
  801.         <layer>background</layer>
  802.         <id>8</id>
  803.         <text>5 of 18</text>
  804.     </content>
  805.     <name></name>
  806.     <script>-- *** animate the arrow
  807. on cdAnim
  808. traceArrow
  809. wait 20
  810. choose browse tool
  811. end cdAnim
  812.  
  813. --
  814. on traceArrow
  815. choose line tool
  816. set dragSpeed to 35
  817. drag from 403,164 to 403,188
  818. drag from 404,188 to 430,188
  819. end traceArrow
  820.  
  821. --
  822. on closeCard
  823. choose select tool
  824. doMenu "Revert"
  825. choose browse tool
  826. end closeCard
  827.  
  828. -- The visual effect for next and prev
  829. wipe left, wipe left
  830. </script>
  831. </card>
  832.  
  833.  
  834. card_5275.xml
  835. <?xml version="1.0" encoding="utf-8" ?>
  836. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  837. <card>
  838.     <id>5275</id>
  839.     <filler1>0</filler1>
  840.     <bitmap>BMAP_5519.pbm</bitmap>
  841.     <cantDelete> <false /> </cantDelete>
  842.     <showPict> <true /> </showPict>
  843.     <dontSearch> <false /> </dontSearch>
  844.     <owner>2560</owner>
  845.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  846.     <content>
  847.         <layer>background</layer>
  848.         <id>3</id>
  849.         <text>The Terminal Manager then calls upon the tool to carry out the task.</text>
  850.     </content>
  851.     <content>
  852.         <layer>background</layer>
  853.         <id>2</id>
  854.         <text>How it does it</text>
  855.     </content>
  856.     <content>
  857.         <layer>background</layer>
  858.         <id>8</id>
  859.         <text>4 of 18</text>
  860.     </content>
  861.     <name></name>
  862.     <script>-- *** animate the arrow
  863. on cdAnim
  864. traceArrow
  865. wait 20
  866. choose browse tool
  867. end cdAnim
  868.  
  869. --
  870. on traceArrow
  871. choose line tool
  872. set dragSpeed to 35
  873. drag from 319,139 to 319,188
  874. drag from 320,188 to 381,188
  875. drag from 381,187 to 381,169
  876. end traceArrow
  877.  
  878. --
  879. on closeCard
  880. choose select tool
  881. doMenu "Revert"
  882. choose browse tool
  883. end closeCard
  884.  
  885. -- The visual effect for next and prev
  886. wipe right, wipe left
  887. </script>
  888. </card>
  889.  
  890.  
  891. card_4615.xml
  892. <?xml version="1.0" encoding="utf-8" ?>
  893. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  894. <card>
  895.     <id>4615</id>
  896.     <filler1>0</filler1>
  897.     <bitmap>BMAP_5072.pbm</bitmap>
  898.     <cantDelete> <false /> </cantDelete>
  899.     <showPict> <true /> </showPict>
  900.     <dontSearch> <false /> </dontSearch>
  901.     <owner>2560</owner>
  902.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  903.     <part>
  904.         <id>1</id>
  905.         <type>field</type>
  906.         <visible> <true /> </visible>
  907.         <dontWrap> <false /> </dontWrap>
  908.         <dontSearch> <false /> </dontSearch>
  909.         <sharedText> <false /> </sharedText>
  910.         <fixedLineHeight> <false /> </fixedLineHeight>
  911.         <autoTab> <false /> </autoTab>
  912.         <lockText> <true /> </lockText>
  913.         <rect>
  914.             <left>13</left>
  915.             <top>66</top>
  916.             <right>252</right>
  917.             <bottom>187</bottom>
  918.         </rect>
  919.         <style>transparent</style>
  920.         <autoSelect> <false /> </autoSelect>
  921.         <showLines> <false /> </showLines>
  922.         <wideMargins> <false /> </wideMargins>
  923.         <multipleLines> <false /> </multipleLines>
  924.         <reservedFamily> 0 </reservedFamily>
  925.         <titleWidth>0</titleWidth>
  926.         <icon>0</icon>
  927.         <textAlign>left</textAlign>
  928.         <font>Geneva</font>
  929.         <textSize>9</textSize>
  930.         <textStyle>plain</textStyle>
  931.         <textHeight>10</textHeight>
  932.         <name>terminal emulation</name>
  933.         <script></script>
  934.     </part>
  935.     <content>
  936.         <layer>background</layer>
  937.         <id>3</id>
  938.         <text>The application calls the Terminal Manager routine to perform a particular task (e.g. transmit and display characters and graphics, position cursor, etc.)</text>
  939.     </content>
  940.     <content>
  941.         <layer>background</layer>
  942.         <id>2</id>
  943.         <text>How it does it</text>
  944.     </content>
  945.     <content>
  946.         <layer>background</layer>
  947.         <id>8</id>
  948.         <text>3 of 18</text>
  949.     </content>
  950.     <name></name>
  951.     <script>-- *** animate the arrow
  952. on cdAnim
  953. wait 30
  954. clickG
  955. wait 10
  956. traceArrow
  957. wait 20
  958. choose browse tool
  959. end cdAnim
  960.  
  961. --
  962. on clickG
  963. play "click"
  964. put "g" into cd fld "terminal emulation"
  965. end clickG
  966.  
  967. --
  968. on traceArrow
  969. choose line tool
  970. set dragSpeed to 35
  971. drag from 204,203 to 204,219
  972. drag from 205,219 to 296,219
  973. drag from 296,218 to 296,144
  974. end traceArrow
  975.  
  976. --
  977. on openCard
  978. disItem "How it does it"
  979. end openCard
  980.  
  981. --
  982. on closeCard
  983. enaItem "How it does it"
  984. put EMPTY into cd fld "terminal emulation"
  985. choose select tool
  986. doMenu "Revert"
  987. choose browse tool
  988. end closeCard
  989.  
  990. -- The visual effect for next and prev
  991. wipe right, wipe left
  992. </script>
  993. </card>
  994.  
  995.  
  996. card_4321.xml
  997. <?xml version="1.0" encoding="utf-8" ?>
  998. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  999. <card>
  1000.     <id>4321</id>
  1001.     <filler1>0</filler1>
  1002.     <bitmap>BMAP_4511.pbm</bitmap>
  1003.     <cantDelete> <false /> </cantDelete>
  1004.     <showPict> <true /> </showPict>
  1005.     <dontSearch> <false /> </dontSearch>
  1006.     <owner>2560</owner>
  1007.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  1008.     <content>
  1009.         <layer>background</layer>
  1010.         <id>3</id>
  1011.         <text>The terminal tools take care of implementing the characteristics of specific terminal types.
  1012.  
  1013. </text>
  1014.     </content>
  1015.     <content>
  1016.         <layer>background</layer>
  1017.         <id>2</id>
  1018.         <text>What it does</text>
  1019.     </content>
  1020.     <content>
  1021.         <layer>background</layer>
  1022.         <id>8</id>
  1023.         <text>2 of 18</text>
  1024.     </content>
  1025.     <name></name>
  1026.     <script>-- The visual effect for next and prev
  1027. wipe right, dissolve
  1028. </script>
  1029. </card>
  1030.  
  1031.  
  1032. card_2842.xml
  1033. <?xml version="1.0" encoding="utf-8" ?>
  1034. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1035. <card>
  1036.     <id>2842</id>
  1037.     <filler1>0</filler1>
  1038.     <bitmap>BMAP_3847.pbm</bitmap>
  1039.     <cantDelete> <false /> </cantDelete>
  1040.     <showPict> <true /> </showPict>
  1041.     <dontSearch> <false /> </dontSearch>
  1042.     <owner>2560</owner>
  1043.     <link rel="stylesheet" type="text/css" href="stylesheet_3236.css" />
  1044.     <part>
  1045.         <id>1</id>
  1046.         <type>button</type>
  1047.         <visible> <true /> </visible>
  1048.         <reserved5> 0 </reserved5>
  1049.         <reserved4> 0 </reserved4>
  1050.         <reserved3> 0 </reserved3>
  1051.         <reserved2> 0 </reserved2>
  1052.         <reserved1> 0 </reserved1>
  1053.         <enabled> <true /> </enabled>
  1054.         <rect>
  1055.             <left>440</left>
  1056.             <top>321</top>
  1057.             <right>474</right>
  1058.             <bottom>341</bottom>
  1059.         </rect>
  1060.         <style>opaque</style>
  1061.         <showName> <false /> </showName>
  1062.         <highlight> <false /> </highlight>
  1063.         <autoHighlight> <false /> </autoHighlight>
  1064.         <sharedHighlight> <true /> </sharedHighlight>
  1065.         <family>0</family>
  1066.         <titleWidth>0</titleWidth>
  1067.         <icon>14155</icon>
  1068.         <textAlign>center</textAlign>
  1069.         <font>Chicago</font>
  1070.         <textSize>12</textSize>
  1071.         <textStyle>plain</textStyle>
  1072.         <name>prev</name>
  1073.         <script></script>
  1074.     </part>
  1075.     <content>
  1076.         <layer>background</layer>
  1077.         <id>3</id>
  1078.         <text>The Terminal Manager provides emulation independent terminal services, so your application doesn't have to take into account the characteristics of specific terminal types.</text>
  1079.     </content>
  1080.     <content>
  1081.         <layer>background</layer>
  1082.         <id>2</id>
  1083.         <text>What it does</text>
  1084.     </content>
  1085.     <content>
  1086.         <layer>background</layer>
  1087.         <id>8</id>
  1088.         <text>1 of 18</text>
  1089.     </content>
  1090.     <name></name>
  1091.     <script>on openCard
  1092. disItem "What it does"
  1093. end openCard
  1094.  
  1095. on closeCard
  1096. enaItem "What it does"
  1097. end closeCard
  1098.  
  1099.  
  1100. -- The visual effect for next and prev
  1101. dissolve,
  1102. </script>
  1103. </card>
  1104.  
  1105.  
  1106.